﻿using MediatR;
using SmartProduction.Domain.Ptoduction;
using SmartProduction.ErrorCode;
using SmartProduction.Read.API.Dto;

namespace SmartProduction.Read.API.Application.Commands.SCWorkCommand
{
    /// <summary>
    /// 生产工单的查询命令
    /// </summary>
    public class SCWorkOrderQueryCommand : IRequest<APIPaing<List<SCWorkOrderDtos>>>
    {

        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; } = 10;


        /// <summary>
        /// 工单名称
        /// </summary>
        public string? WorkOrderName { get; set; }
    }
}
